finding area of regular polygons